package com.qzdsoft.erpcloud.domain.proj;

import java.util.Date;

public class MaterialInfo extends MaterialInfoKey {
    private Integer companyId;

    private String materialCoding;

    private String materialSpec;

    private Integer materialTypeId;

    private Integer brandId;

    private Integer measurementUId;

    private Integer minimumPackingQuantity;

    private Integer onHandQuantity;

    private Integer availableQuantity;

    private Integer cumulativeStock;

    private Integer cumulativeReturn;

    private Integer cumulativeShipments;

    private Integer cumulativeWithdrawal;

    private Integer materialPriceTypeId;

    private Boolean isNoUsed;

    private Boolean isSale;

    private Boolean isBuy;

    private Boolean isVirtual;

    private Boolean isOutsource;
    //是否生产耗用
    private Boolean isProdConsumption;

    private String pictureAddr;

    private Integer creatorId;

    private Date ctime;

    private String remark;

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public String getMaterialCoding() {
        return materialCoding;
    }

    public void setMaterialCoding(String materialCoding) {
        this.materialCoding = materialCoding == null ? null : materialCoding.trim();
    }

    public String getMaterialSpec() {
        return materialSpec;
    }

    public void setMaterialSpec(String materialSpec) {
        this.materialSpec = materialSpec == null ? null : materialSpec.trim();
    }

    public Integer getMaterialTypeId() {
        return materialTypeId;
    }

    public void setMaterialTypeId(Integer materialTypeId) {
        this.materialTypeId = materialTypeId;
    }

    public Integer getBrandId() {
        return brandId;
    }

    public void setBrandId(Integer brandId) {
        this.brandId = brandId;
    }

    public Integer getMeasurementUId() {
        return measurementUId;
    }

    public void setMeasurementUId(Integer measurementUId) {
        this.measurementUId = measurementUId;
    }

    public Integer getMinimumPackingQuantity() {
        return minimumPackingQuantity;
    }

    public void setMinimumPackingQuantity(Integer minimumPackingQuantity) {
        this.minimumPackingQuantity = minimumPackingQuantity;
    }

    public Integer getOnHandQuantity() {
        return onHandQuantity;
    }

    public void setOnHandQuantity(Integer onHandQuantity) {
        this.onHandQuantity = onHandQuantity;
    }

    public Integer getAvailableQuantity() {
        return availableQuantity;
    }

    public void setAvailableQuantity(Integer availableQuantity) {
        this.availableQuantity = availableQuantity;
    }

    public Integer getCumulativeStock() {
        return cumulativeStock;
    }

    public void setCumulativeStock(Integer cumulativeStock) {
        this.cumulativeStock = cumulativeStock;
    }

    public Integer getCumulativeReturn() {
        return cumulativeReturn;
    }

    public void setCumulativeReturn(Integer cumulativeReturn) {
        this.cumulativeReturn = cumulativeReturn;
    }

    public Integer getCumulativeShipments() {
        return cumulativeShipments;
    }

    public void setCumulativeShipments(Integer cumulativeShipments) {
        this.cumulativeShipments = cumulativeShipments;
    }

    public Integer getCumulativeWithdrawal() {
        return cumulativeWithdrawal;
    }

    public void setCumulativeWithdrawal(Integer cumulativeWithdrawal) {
        this.cumulativeWithdrawal = cumulativeWithdrawal;
    }

    public Integer getMaterialPriceTypeId() {
        return materialPriceTypeId;
    }

    public void setMaterialPriceTypeId(Integer materialPriceTypeId) {
        this.materialPriceTypeId = materialPriceTypeId;
    }

    public Boolean getIsNoUsed() {
        return isNoUsed;
    }

    public void setIsNoUsed(Boolean isNoUsed) {
        this.isNoUsed = isNoUsed;
    }

    public Boolean getIsSale() {
        return isSale;
    }

    public void setIsSale(Boolean isSale) {
        this.isSale = isSale;
    }

    public Boolean getIsBuy() {
        return isBuy;
    }

    public void setIsBuy(Boolean isBuy) {
        this.isBuy = isBuy;
    }

    public Boolean getIsVirtual() {
        return isVirtual;
    }

    public void setIsVirtual(Boolean isVirtual) {
        this.isVirtual = isVirtual;
    }

    public Boolean getIsOutsource() {
        return isOutsource;
    }

    public void setIsOutsource(Boolean isOutsource) {
        this.isOutsource = isOutsource;
    }

    public String getPictureAddr() {
        return pictureAddr;
    }

    public void setPictureAddr(String pictureAddr) {
        this.pictureAddr = pictureAddr == null ? null : pictureAddr.trim();
    }

    public Integer getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(Integer creatorId) {
        this.creatorId = creatorId;
    }

    public Date getCtime() {
        return ctime;
    }

    public void setCtime(Date ctime) {
        this.ctime = ctime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }
    
    public Boolean getIsProdConsumption(){
        return isProdConsumption;
    }

    public void setIsProdConsumption(Boolean isProdConsumption){
        this.isProdConsumption = isProdConsumption;
    }
}